Skip to content

ENH/TST: Add BaseInterfaceTests tests for ArrowExtensionArray PT2 #47468

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 16 commits into from
Jun 24, 2022

Conversation

mroeschke
Copy link
Member

xref #47377 (comment)

  • Min pyarrow version with timezones type coerces to integer when setting (xfailing)
  • ArrayManger tests with duration types oddly checks for a ndim attribute (xfailing)

@mroeschke mroeschke added Testing pandas testing functions or related to the test suite Arrow pyarrow functionality labels Jun 22, 2022
@mroeschke mroeschke added this to the 1.5 milestone Jun 22, 2022
@mroeschke
Copy link
Member Author

Ready for another look @jreback

super().test_setitem_tuple_index(data)

def test_setitem_slice(self, data, box_in_series, using_array_manager, request):
tz = getattr(data.dtype.pyarrow_dtype, "tz", None)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

maybe worth making a helper for this as its happening in virtually every test. (or put it in the fixture) but that's a bit more opaque.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I can try addressing this in a followup, but it's not perfectly generalizable because some of the tests also fail for a specific unit or sometimes fails for UTC

@jreback jreback merged commit dc36ce1 into pandas-dev:main Jun 24, 2022
@mroeschke mroeschke deleted the enh/arrow_interface_tests branch June 24, 2022 18:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Arrow pyarrow functionality Testing pandas testing functions or related to the test suite
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants